package com.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.bean.wd_ht_unit;

@Transactional
public interface UnitService {
	int deleteByPrimaryKey(String unitId);

    int insert(wd_ht_unit record);

    int insertSelective(wd_ht_unit record);

    wd_ht_unit selectByPrimaryKey(String unitId);

    int updateByPrimaryKeySelective(wd_ht_unit record);

    int updateByPrimaryKey(wd_ht_unit record);
    
    List<wd_ht_unit> selectAllToBuildToProject();
    
    List<wd_ht_unit> selectAllByBuild(String buildId);
}
